﻿using System;
using System.Runtime.InteropServices;

namespace CSW.Framework.Windows.Win32API
{
    public static partial class Win32
    {
        /// <summary>SHFILEINFO</summary>
        [StructLayout(LayoutKind.Sequential)]
        public struct SHFILEINFO
        {
            /// <summary>hIcon</summary>
            public IntPtr hIcon;
            /// <summary>iIcon</summary>
            public IntPtr iIcon;
            /// <summary>dwAttributes</summary>
            public UInt32 dwAttributes;
            /// <summary>szDisplayName</summary>
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
            public String szDisplayName;
            /// <summary>szTypeName</summary>
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 80)]
            public String szTypeName;
        }
    }
}
